package com.hqu.environment.dto;

import com.hqu.environment.entity.User;
import com.hqu.environment.enums.SexEnum;


public class UserDTO extends User {

    private String authorityName;

    private String sexName;

    public String getAuthorityName() {
        return authorityName;
    }

    public void setAuthorityName(String authorityName) {
        this.authorityName = authorityName;
    }

    public String getSexName() {
        return SexEnum.getNameByIndex(getSex());
    }

    public void setSexName(String sexName) {
        this.sexName = sexName;
    }
}